@extends('app')

@section('content')
    <div class="layui-card" style="height:100vh;">
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    @component('form.form',['id'=>'form'])

                        @include('form.input',[
                            'label' => '更新标题',
                            'name'  => 'title',
                            'class' => 'layui-col-md12',
                            'val'   => $model->title??''
                        ])

                        @include('form.textarea',[
                                'label' => '更新内容',
                                'name'  => 'content',
                                'class' => 'layui-col-md12',
                                'val'   => $model->content??''
                            ])

                        @include('form.submit',['label'=>'立即提交','form'=>'form','reload'=>"parent.location.reload('treeTable');"])
                    @endcomponent
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')

@endsection